public class Method3{
	public static void main(String [] args ){
		
		A a = new A();
		int [] resArr = a.getSum(1,4);
		int i1 = a.i();
	    byte i2 = a.b();
		System.out.println("i1=" + i1);
		System.out.println("resArr[0]= " + resArr[0]);
		System.out.println("resArr[1]= " + resArr[1]);
	}
}
class A {
	public int[] getSum(int n1 ,int n2){
		int[] resArr = new int [2];
		resArr [0] = n1 + n2;
		resArr [1] = n1 - n2;
		return resArr;
	}
	public int i(){
		int i1 = 1;
		return i1;
	}
	public byte b(){
		byte i2 = 1;
		return i2;
	}
	
	public void d(){
		print(10);
		System.out.println();	 
	}
	public void print(int s){
		System.out.println("s=" + s);	 
	}

}